package com.grts.mall.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.grts.mall.common.CommonResult;
import com.grts.mall.service.OrderItemService;

@RestController
public class OrderItemController {

	 @Autowired
	 private OrderItemService orderItemService;
	 
	 @RequestMapping("/order/find")
	 public CommonResult find(Long oid) {
		 return this.orderItemService.find(oid);
	 }
}
